// 企业信息数据传递对象
package org.example.backend.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.sql.Date;

@Getter
@Setter
public class CompanyDto {
    private Long id;

    @NotBlank(message = "企业名称不能为空")
    private String name;

    @NotBlank(message = "统一社会信用代码不能为空")
    private String unifiedCode;

    private String legalPerson;

    private BigDecimal registeredCapital;

    private Date establishmentDate;

    private String businessScope;

    private String address;

    @NotBlank(message = "联系人不能为空")
    private String contactPerson;

    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;

    private String contactEmail;

    private String website;

    private String introduction;

    private String logo;
}
